//
//  SearchOutMailViewController.m
//  Utils
//
//  Created by enghou on 2018/6/11.
//  Copyright © 2018年 xyxorigation. All rights reserved.
//

#import "SearchOutMailViewController.h"

@interface SearchOutMailViewController ()

@end

@implementation SearchOutMailViewController

-(instancetype)init{
    UIStoryboard *story = [UIStoryboard storyboardWithName:@"OutMailSearch" bundle:[NSBundle mainBundle]];
    return [story instantiateInitialViewController];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    // Uncomment the following line to preserve selection between presentations.
    // self.clearsSelectionOnViewWillAppear = NO;
    
    // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
    // self.navigationItem.rightBarButtonItem = self.editButtonItem;
}

-(void)queryAction{
    NSMutableDictionary *param = [NSMutableDictionary dictionary];
    [param setObject:self.titleField.text forKey:@"searchPlatformMessageVo.title"];
    [param setObject:self.beginDateField.text forKey:@"searchPlatformMessageVo.sendTimeStart"];
    [param setObject:self.endDateField.text forKey:@"searchPlatformMessageVo.sendTimeEnd"];
    if ([self.theDelete respondsToSelector:@selector(fetchModel:)]) {
        [self.theDelete fetchModel:param];
    }
    [self pop];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
